package com.qfedu.fmmll.submit.service.feign;

import com.qfedu.fmmll.submit.service.fallback.ShupcartDelFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author : yanBin
 * @date :2022/2/10 17:17
 */
@Repository
@FeignClient(value = "shopcart-del",fallback = ShupcartDelFallback.class)
public interface ShupcartDelClient {
    @DeleteMapping("/shupcart/delete/{cids}")
    int delete(@PathVariable String cids);
}
